package com.dd.cloud.user.entity.chknowl;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 数据表说明:疾病诊断编码库
 *
 * @author Lx
 * @version 1.0
 */
@Data
@EqualsAndHashCode
@Accessors(chain = true)
@Table(comment = "疾病诊断编码库")
public class DiseaseDiagnosisCode implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 数据表说明:疾病诊断编码库
     */
    @TableId(value = "id", type = IdType.AUTO)
    @Column(isKey = true, isAutoIncrement = true)
    private Integer id;

    /**
     * 编码
     */
    @Column(length = 20, comment = "编码")
    private String code;

    /**
     * 名称
     */
    @Column(length = 50, comment = "名称")
    private String name;

    /**
     * 备注
     */
    @Column(length = 200, comment = "备注")
    private String remark;

    /**
     * 状态 1正常 -1删除
     */
    @Column(length = 4, comment = "状态 1正常 -1删除")
    private Integer status;

    /**
     * 创建时间
     */
    @Column(comment = "创建时间")
    private LocalDateTime createDate;
}
